package com.duobaoyu.dby.supply.biz.client.resource.bean.vo;

import com.duobaoyu.dby.channel.adapter.enums.biz.refund.AfterSaleTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @Author tianxiaoqiang
 * @Date 2022/7/29 19:51
 * @Version 1.0
 * @Description
 */
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Data
public class AfterSaleReasonVO implements Serializable {

	private static final long serialVersionUID = 6234417793806156009L;

	/**
	 * 原因ID
	 */
	private Long id;
	/**
	 * 所属的售后类型 1->退货退款;2->换货；3->维修；4->仅退款
	 *
	 * @see AfterSaleTypeEnum
	 */
	@ApiModelProperty(value = "所属的售后类型 1->退货退款;2->换货；3->维修；4->仅退款")
	private Integer afterSaleType;
	/**
	 * 售后原因编码
	 */
	@ApiModelProperty(value = "售后原因编码")
	private String reasonCode;
	/**
	 * 售后原因说明
	 */
	@ApiModelProperty(value = "售后原因说明")
	private String reasonName;
	/**
	 * 排序
	 */
	@ApiModelProperty(value = "排序")
	private Integer sort;
	/**
	 * 状态：0->不启用；1->启用
	 */
	@ApiModelProperty(value = "状态：0->不启用；1->启用")
	private Integer status;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	private LocalDateTime createTime;
}
